Freescale Semiconductor /MKL05Z4 /CMP0 /CR1

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CR1

7 43 0 0 00 0 0 0 0 0 0 0 0 (0)EN 0 (0)OPE 0 (0)COS 0 (0)INV 0 (0)PMODE 0 (0)TRIGM 0 (0)WE 0 (0)SE

WE=0, INV=0, COS=0, PMODE=0, TRIGM=0, EN=0, OPE=0, SE=0

Description

CMP Control Register 1

Fields

EN

Comparator Module Enable

0 (0): Analog Comparator is disabled.

1 (1): Analog Comparator is enabled.

OPE

Comparator Output Pin Enable

0 (0): CMPO is not available on the associated CMPO output pin. If the comparator does not own the pin, this field has no effect.

1 (1): CMPO is available on the associated CMPO output pin. The comparator output (CMPO) is driven out on the associated CMPO output pin if the comparator owns the pin. If the comparator does not own the field, this bit has no effect.

COS

Comparator Output Select

0 (0): Set the filtered comparator output (CMPO) to equal COUT.

1 (1): Set the unfiltered comparator output (CMPO) to equal COUTA.

INV

Comparator INVERT

0 (0): Does not invert the comparator output.

1 (1): Inverts the comparator output.

PMODE

Power Mode Select

0 (0): Low-Speed (LS) Comparison mode selected. In this mode, CMP has slower output propagation delay and lower current consumption.

1 (1): High-Speed (HS) Comparison mode selected. In this mode, CMP has faster output propagation delay and higher current consumption.

TRIGM

Trigger Mode Enable

0 (0): Trigger mode is disabled.

1 (1): Trigger mode is enabled.

WE

Windowing Enable

0 (0): Windowing mode is not selected.

1 (1): Windowing mode is selected.

SE

Sample Enable

0 (0): Sampling mode is not selected.

1 (1): Sampling mode is selected.

Links

() ()